package com.taotao.manage.viewObject;

import javax.persistence.Table;

import com.taotao.manage.pojo.ItemCat;

@Table(name = "tb_item_cat")
public class ItemCatForTree extends ItemCat{

	public String getText(){
		return getName();
	}
	public String getState(){
		return getIsParent()? "closed":"open";
	}
	
}
